From: Julien Grall Date: Mon, 24 Feb 2014 11:21:54 +0000 (+0100) Subject: vtd: don't export iommu_domain_teardown X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5558 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=24e0a36d63a6bac1e2777b7265c8add3f7895e58;p=xen.git vtd: don't export iommu_domain_teardown iommu_domain_teardown is only used internally in xen/drivers/passthrough/vtd/iommu.c Signed-off-by: Julien Grall Acked-by: Ian Cambell Acked-by: Jan Beulich --- diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index 5f10034dd8..a8d33fc708 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -1701,7 +1701,7 @@ static int reassign_device_ownership( return ret; } -void iommu_domain_teardown(struct domain *d) +static void iommu_domain_teardown(struct domain *d) { struct hvm_iommu *hd = domain_hvm_iommu(d); diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h index 8bb0a1d1aa..ae7e75d013 100644 --- a/xen/include/xen/iommu.h +++ b/xen/include/xen/iommu.h @@ -69,7 +69,6 @@ int iommu_map_page(struct domain *d, unsigned long gfn, unsigned long mfn, int iommu_unmap_page(struct domain *d, unsigned long gfn); void iommu_pte_flush(struct domain *d, u64 gfn, u64 *pte, int order, int present); void iommu_set_pgd(struct domain *d); -void iommu_domain_teardown(struct domain *d); void pt_pci_init(void);